package com.bemes.ecmn.model;

public class ECMNMulAggregator extends ECMNAggregator{

	@Override
	public int getAmountOfEquipment() {
		int numOfEq = 0;
		for (ECMNConnector con : m_connectors) {
			numOfEq = (numOfEq == 0 ? con.getAmountOfEquipment() : numOfEq * con.getAmountOfEquipment());
		}
		
		return numOfEq;
	}

}
